import {createPinia} from 'pinia'
// 导入pinia的持久化插件
import piniaPluginPersistedState from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(piniaPluginPersistedState)

export default pinia
